package se.webbzon.boltzmann.menu;

import se.webbzon.boltzmann.hud.AbstractHudLayout;

public class FlowPageLayout extends AbstractHudLayout {
	
	// The width and height of the page
	private final int width, height;

	// The horizontal and vertical offset of the first menu item
	private final int xOffset, yOffset;
	
	// The horizontal and vertical spacing between the menu items
	private final int xSpacing, ySpacing;

	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new GameMenyLayout. **/
	public FlowPageLayout(	int width, int height,
							int xOffset, int yOffset, 
							int xSpacing, int ySpacing) {
		this.width = width;
		this.height = height;
		this.xOffset = xOffset;
		this.yOffset = yOffset;
		this.xSpacing = xSpacing;
		this.ySpacing = ySpacing;
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Returns the width of the page. **/
	public int getWidth() {
		return width;
	}

	/** Returns the height of the page. **/
	public int getHeight() {
		return height;
	}
	
	/** Returns the horizontal offset the first menu item. **/
	public int getXOffset() {
		return xOffset;
	}

	/** Returns the vertical offset the first menu item. **/
	public int getYOffset() {
		return yOffset;
	}
	
	/** Returns the horizontal spacing between the menu items. **/
	public int getXSpacing() {
		return xSpacing;
	}

	/** Returns the vertical spacing between the menu items. **/
	public int getYSpacing() {
		return ySpacing;
	}
	
}
